Skip to content

Conversation

bpostlethwaite
Copy link
Member

The test case that now (should) be passing was failing before this fix. This impacted Plotly image server thumbnail generation.


extendFlat(newLayout[sceneId].xaxis || {}, axesImageOverride);
extendFlat(newLayout[sceneId].yaxis || {}, axesImageOverride);
extendFlat(newLayout[sceneId].zaxis || {}, axesImageOverride);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|| {} is unnecessary here (and would have been confusingly useless by itself)

I'd probably also do var scene = newLayout[sceneIds[i]] instead of var sceneId = sceneIds[i] to be more concise, but that's more of a style issue.

@bpostlethwaite
Copy link
Member Author

@alexcjohnson changes made ready for review

@alexcjohnson
Copy link
Collaborator

💃 Thanks!

@bpostlethwaite bpostlethwaite merged commit 2070279 into master Jan 25, 2017
@bpostlethwaite bpostlethwaite deleted the fix-Thumbnail-Clone branch January 25, 2017 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants